package com.ainge.easystudy.timeoutcenter;

import redis.clients.jedis.Jedis;

/**
 * @author: Ainge
 * @Time: 2021/8/4 23:50
 */
@FunctionalInterface
public interface RedisCall<T> {

    /**
     * 执行redis命令
     * @param jedis
     * @return
     */
    T execute(Jedis jedis);
}
